html {
    font-size: 100%;
}

* {
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    padding-top: 2rem;
}

#cardInfo {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.cardType span {
    color: #a58935;
}

#cardBox {
    width: 100%;
    position: relative;
}

/*方法一：外面加div,50%radious,溢出不可见*/
/*.headImg{
    width: 6.5em;
    height: 6.5rem;
    border-radius: 50%;
    border: .3rem solid #ffffff;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}
.headBig{
    width: 6rem;
    height: 6rem;
    border: .3rem solid #a58935;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/
/*方法二:阴影*/
.headBig {
    width: 6rem;
    height: 6rem;
    border: .3rem solid #a58935;
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: -5px 0px 5px #ffffff, /*左边阴影*/ 0px -5px 5px #ffffff, /*上边阴影*/ 5px 0px 5px #ffffff, /*右边阴影*/ 0px 5px 5px #ffffff;
" /*下边阴影*/
}

.cardImg {
    width: 100%;
}